import request from '@/utils/request'

// 查询详情
export function getDetail(data) {
	return request({
		url: '/admin/dashboard/getImgContentByOdsId',
		method: 'post',
		data: data,
	})
}
// 编辑
export function update(data) {
	return request({
		url: '/admin/dashboard/updateImgContent',
		method: 'post',
		data: data,
	})
}
// 新增
export function add(data) {
	return request({
		url: '/admin/dashboard/addImgContent',
		method: 'post',
		data: data,
	})
}